package com.entity;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.Date;

public class FunctionPremissionTreeGrid
{
    private Integer id;
    private String name;
    private String iconCls;
    private String state;
    private String funcUrl;
    private Date creationTime;
    private Boolean isStart;
    private Integer parentId;
    private Boolean premission;

    public FunctionPremissionTreeGrid() { }

    public Integer getId()
    {
        return id;
    }

    public void setId( Integer id )
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName( String name )
    {
        this.name = name;
    }

    public String getIconCls()
    {
        return iconCls;
    }

    public void setIconCls( String iconCls )
    {
        this.iconCls = iconCls;
    }

    public String getState()
    {
        return state;
    }

    public void setState( String state )
    {
        this.state = state;
    }

    public String getFuncUrl()
    {
        return funcUrl;
    }

    public void setFuncUrl( String funcUrl )
    {
        this.funcUrl = funcUrl;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }

    public void setCreationTime( Date creationTime )
    {
        this.creationTime = creationTime;
    }

    public Boolean getIsStart()
    {
        return isStart;
    }

    public void setIsStart( Boolean isStart )
    {
        this.isStart = isStart;
    }

    public Integer getParentId()
    {
        return parentId;
    }

    public void setParentId( Integer parentId )
    {
        this.parentId = parentId;
    }

    public Boolean getPremission()
    {
        return premission;
    }

    public void setPremission( Boolean premission )
    {
        this.premission = premission;
    }

    @Override
    public String toString()
    {
        return "{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", iconCls='" + iconCls + '\'' +
                ", state='" + state + '\'' +
                ", funcUrl='" + funcUrl + '\'' +
                ", creationTime=" + creationTime +
                ", isStart='" + isStart + '\'' +
                ", parentId=" + parentId +
                ", premission=" + premission +
                '}';
    }
}
